package org.jeecg.lawcase.data.reader.impl;

import org.jeecg.lawcase.data.reader.DataImportApadter;
import org.jeecg.lawcase.data.reader.DataImportManager;
import org.jeecg.lawcase.data.reader.DataTemplate;
import org.springframework.stereotype.Component;

import java.io.InputStream;

@Component
public class SQlDataImportImpl implements DataImportApadter {

    public SQlDataImportImpl() {
        DataImportManager.registerService(this.getFileType(), this);
    }

    @Override
    public String getFileType() {
        return "sql";
    }

    @Override
    public DataTemplate importData(String fileName, InputStream inputStream) {
        return null;
    }
}
